package com.miyake.dsp.osa.lab.wrapper;

import com.miyake.dsp.ScilabExecute;
import com.miyake.dsp.osa.lab.Calculator;
import com.miyake.dsp.osa.lab.LabUiAnnotation;
@LabUiAnnotation(caption="Diff")
public class DiffWrapper extends Calculator{
	public static final String INPUT = "INPUT";
	public static final String OUTPUT = "OUTPUT";
	
	public DiffWrapper() {
		initInput(INPUT);
		initOutput(OUTPUT);
	}
	
	@Override
	public synchronized void process() {
		this.setOutput(OUTPUT, ScilabExecute.execute("ret=diff(data1)", this.getInput(INPUT), "ret"));
	}

	@Override
	public Object getSetting() {
		// TODO Auto-generated method stub
		return null;
	}

}
